package com.yungam.iot_exe.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@TableName("iot_equip_menu_permission")
public class IotEquipMenuPermission {

    private Integer id;                                             // id
    private Integer menuId;                                         // 菜单项 id
    private Integer menuType;                                       // 菜单类型
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;                                        // 创建时间

}
